package com.syh.jn.scm.service.api.upstream.system;

import com.syh.jn.scm.dto.upstream.system.upAccountOfPhone.UpAccountOfPhoneMto;
import com.syh.jn.scm.dto.upstream.system.upAccountOfPhone.UpAccountOfPhoneSto;
import com.syh.jn.scm.dto.upstream.system.upAccountOfPhone.UpAccountOfPhoneVo;
import com.syh.jn.scm.service.core.CreateService;
import com.syh.jn.scm.service.core.DeleteService;
import com.syh.jn.scm.service.core.ReadService;
import com.syh.jn.scm.service.core.UpdateService;

/**
 * Created by soci.song on 2018/12/13.
 */
public interface UpAccountOfPhoneService extends ReadService<UpAccountOfPhoneVo,Long>,CreateService<UpAccountOfPhoneSto,Long>,UpdateService<UpAccountOfPhoneMto>,DeleteService<Long> {
    UpAccountOfPhoneVo verifyAccountPassword(String loginPhone, String password);

    void binding(Long id, Long accountId);

    void untying(Long id, Long accountId);

    void defaultSign(Long id, Long accountId);

    void enable(Long id);

    void disable(Long id);
}
